package com.heima.media.service;

import com.heima.common.dto.ResponseResult;
import com.heima.media.dto.*;
import com.heima.media.entity.WmNews;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 自媒体图文内容信息表 服务类
 * </p>
 *
 * @author wsj
 * @since 2022-03-11
 */
public interface IWmNewsService extends IService<WmNews> {

    ResponseResult listByPage(WmNewsPageDto dto);

    ResponseResult submit(WmNewsInfoDto dto);

    ResponseResult downOrUp(WmNewsDto dto);

    ResponseResult findPageByName(NewsAuthDto dto);

    ResponseResult findNewsVoById(Integer id);

    ResponseResult authFail(WmNewsAuthDto dto);

    ResponseResult authPass(WmNewsAuthDto dto);
}
